Facebook\Tests\GraphNodes\GraphNodeTest S

Total Complexity 8
Dependencies 2
Dependents 0
Total lines 111
Lines of code 75
Logical lines of code 45
Comment lines 2
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
testDatesThatShouldBeCastAsDateTimeObjectsAreDetected()
S
59 1 15
testUncastingAGraphNodeWillUncastTheDateTimeObject()
S
60 1 14
testAnEmptyBaseGraphNodeCanInstantiate()
S
73 1 5
testAGraphNodeCanInstantiateWithData()
S
72 1 5
testATimeStampCanBeConvertedToADateTimeObject()
S
63 1 10
testAGraphDateStringCanBeConvertedToADateTimeObject()
S
63 1 10
testGettingGraphNodeAsAnArrayWillNotUncastTheDateTimeObject()
S
66 1 8
testReturningACollectionAsJasonWillSafelyRepresentDateTimes()
S
66 1 8